﻿<Window x:Class="WPFStorageClient.EditAccountInfoDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Create New Account" Height="313" Width="1012">
    <Grid Width="873" Height="156">
        <TextBlock Height="21" HorizontalAlignment="Left" Margin="12,12,0,0" Name="textBlock1" Text="Account Name:" VerticalAlignment="Top" Width="120" TextAlignment="Right" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="138,9,0,0" Text="{Binding AccountName}"
                 Name="_accountNameBox" VerticalAlignment="Top" Width="200" TextChanged="TextBox_TextChanged" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="138,49,0,0" Text="{Binding AccountSharedKey}"
                 Name="_sharedKeyBox" VerticalAlignment="Top" Width="702" TextChanged="TextBox_TextChanged" />
        <TextBlock Height="21" HorizontalAlignment="Left" Margin="12,49,0,0" 
                    Text="Account Shared Key:" VerticalAlignment="Top" Width="120" TextAlignment="Right" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="786,121,0,0" Name="button1" VerticalAlignment="Top" Width="75" IsCancel="True">

        </Button>
        <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="705,121,0,0" 
                Name="button2" VerticalAlignment="Top" Width="75" IsEnabled="{Binding SaveEnabled}" IsDefault="True" Click="SaveButton_Click">
        </Button>
        <TextBlock Height="21" HorizontalAlignment="Left" Margin="12,84,0,0" Name="textBlock3" Text="Enter an account name and a shared key. These can be found at http://windows.azure.com" VerticalAlignment="Top" Width="828" />
    </Grid>
</Window>
